package com.example.vote.flow.pojo.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;

@Data
@Schema(description = "更新投票选项参数Class")
public class VoteOptionUpdateParam implements Serializable {

    @Schema(description = "选项编号", example = "1", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer optionOrder;

    @Schema(description = "选项图片的URL，如果allow_option_image为0，则该字段为空", example = "http://www.example.com/1.jpg", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String imageUrl;

    @Schema(description = "选项内容", example = "选项1", requiredMode = Schema.RequiredMode.REQUIRED)
    private String content;

}